#include<stdio.h>
#include<string.h>
#include"define.h" 
void del_student(students dai1[], int* n)
{
	int index, i;
	printf("Enter the index to be deleted");
	scanf("%d",&index);
	for (i = index; i <= *n; i++){
		strcpy(dai1[i].name, dai1[i + 1].name);
		strcpy(dai1[i].group, dai1[i + 1].group);
		dai1[i].regnumber = dai1[i + 1].regnumber;
		dai1[i].age = dai1[i + 1].age;
	}
	printf("Student %d deleted", index);
	(*n)--;
}
